package com.africanmoviesmobile.webservice;

import java.io.IOException;
import java.util.Hashtable;

import org.pixmob.httpclient.HttpClientException;

import android.graphics.Bitmap;

import com.africanmoviesmobile.webservice.inf.WebserviceObject;

public interface AsyncCallback {
	
	public void onComplete(java.lang.Object[] values, java.lang.Object state);
	
	public void onComplete(WebserviceObject[] values, java.lang.Object state);

	public void onComplete(String[] values, java.lang.Object state);
	
	public void onComplete(int[] values, java.lang.Object state);
	
	public void onComplete(boolean[] values, java.lang.Object state);

	public void onComplete(Hashtable<String, String> values, java.lang.Object state);

	public void onComplete(Bitmap[] values, java.lang.Object state);

	public void onException(Exception e, java.lang.Object state);
	
	public void onIOException(IOException e, java.lang.Object state);
	
	public void onHttpClientException(HttpClientException e, java.lang.Object state);
	
	public void onWebServiceException(WebServiceException e, java.lang.Object state);
}